
/************动画类********/
.alanUpEl{
  transition: opacity 1s var(--ease),transform 1.2s var(--ease),color .3s var(--ease);
  opacity: 0;transform-origin: 0 50%;
  @for $i from 1 through 20{
    &:nth-child(#{$i}){
      transform: translate3d(0,#{.1+$i*.1rem},0);
      transition-delay: #{$i*0.05s};
    }
  }
  &.go{
    opacity: 1;transform: translate3d(0,0,0);
  }
}
.alanDownEl{
  transition: opacity 1s var(--ease),transform 1.2s var(--ease),color .3s var(--ease);
  opacity: 0;transform-origin: 0 50%;
  @for $i from 1 through 20{
    &:nth-child(#{$i}){
      transform: translate3d(0,#{-.2-$i*.1rem},0);
      transition-delay: #{$i*0.1s};
    }
  }
  &.go{
    opacity: 1;transform: translate3d(0,0,0);
  }
}
.alanParent{
  perspective: 4rem;
  .alanUp{
    transition: opacity 1.2s var(--ease),transform 1.2s var(--ease),color .5s var(--ease),background-color .6s var(--ease),border-color .6s var(--ease);
    opacity: 0;transform-origin: 0% 50%;
    @for $i from 1 through 20{
      &:nth-child(#{$i}){
        transform:rotateY(#{-1-$i*2deg}) rotateX(#{1+$i*1deg}) translate3d(0,#{.1+$i*.1rem},0);
        transition-delay: #{$i*0.03s};
      }
    }
  }
  .alanUpSmall{
    transition: opacity 1.2s var(--ease),transform 1.2s var(--ease),color .5s var(--ease),background-color .6s var(--ease);
    opacity: 0;transform-origin: 0% 50%;
    @for $i from 1 through 20{
      &:nth-child(#{$i}){
        transform:translate3d(0,#{.1+$i*.1rem},0);
        transition-delay: #{$i*0.03s};
      }
    }
  }
  .alanLeft{
    transition: opacity 1.2s var(--ease),transform 1.5s var(--ease),color .3s var(--ease);
    opacity: 0;transform-origin: 0 0;
    @for $i from 1 through 20{
      &:nth-child(#{$i}){
        transform:rotateY(#{-1-$i*2deg}) rotateX(#{1+$i*2deg}) translate3d(#{.2rem+$i*.1rem},0,0);
        transition-delay: #{$i*0.1s};
      }
    }
  }
  .alanRight{
    transition: opacity 1.2s var(--ease),transform 1.5s var(--ease),color .3s var(--ease);
    opacity: 0;transform-origin: 0% 50%;
    @for $i from 1 through 20{
      &:nth-child(#{$i}){
        transform:rotateY(#{1+$i*2deg}) rotateX(#{1+$i*2deg}) translate3d(#{-.2rem+$i*-.1rem},0,0);
        transition-delay: #{$i*0.05s};
      }
    }
  }
  &.active,&.go{
    .alanUp,.alanUpSmall,.alanLeft,.alanRight{
      opacity: 1;transform: translate3d(0,0,0);
    }
  }
}
[data-text].alanGo{
  display: flex;align-items: center;justify-content: flex-start;
  line-height: .9!important;
  .letter{
    display: block;
    transition: opacity 1.2s var(--ease),transform 1.2s var(--ease),color .3s var(--ease);
    opacity: 0;transform-origin:0% 50%;transform:rotate(3deg) translate3d(0,.2rem,0);
    @for $i from 1 through 50{
      &:nth-child(#{$i}){
        transition-delay: #{$i*0.03s};
      }
    }
  }
  &.go{
    .letter{
      opacity: 1;transform: translate3d(0,0,0);
    }
  }
}
/*动画css--time*/
.layer-move{
  transition: opacity var(--time) var(--ease),transform var(--time) var(--ease),color .5s var(--ease);
}

/*带点或图标列表项*/
.layer-item{
  .list{
    position: relative;
    display: flex;justify-content: flex-start;align-items: center;width: 100%;
    padding: 5px 0 5px .2rem;
    .dot{
      width: 5px;height: 5px;font-size: inherit;
      position: absolute;top: 1em;left: 0;
      transition: background-color .5s var(--ease);
      &.wc{background-color: #fff;}
      &.mc{background-color: var(--main);}
    }
    .iconfont{
      position: absolute;left: 0;top: .9em;
    }
    p{line-height: 1.5;}
  }
}
/*方形按钮*/
.layer-btn{
  border-radius: 5px;position: relative;padding: 0 .3rem;
  background-color: #fff;cursor: pointer;
  overflow: hidden;transform: translateZ(0px);
  transition:background-color .5s ease-in-out,border-color .5s ease-in-out,transform .5s ease-in-out;
  transition-delay: .1s;
  &>.mask{
    position: absolute;width: 100%;border-radius: 5px;height: 102%;
    left: 0;top: 0;
    transform: translateX(-102%);transition: transform .6s var(--ease);z-index: 1;
    background-color: var(--main);display: block;
  }
  .hover-mask{
    align-items: center;
    background: #152a4d;
    color: #181520;
    display: flex;
    height: 100%;
    justify-content: center;
    left: -3px;
    -webkit-mask: url(/image/base/hover.png);
    mask: url(/image/base/hover.png);
    -webkit-mask-position: 350% 0;
    mask-position: 350% 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 140% 100%;
    mask-size: 140% 100%;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    top: 0;
    transition: .6s ease-in-out;
    width: calc(100% + .1rem);
  }
  .mak{
    align-items: center;
    background: #152a4d;
    color: #181520;
    display: flex;
    height: 100%;
    justify-content: center;
    left: -3px;
    -webkit-mask: url(/image/base/hover.png);
    mask: url(/image/base/hover.png);
    -webkit-mask-position: 350% 0;
    mask-position: 350% 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 140% 100%;
    mask-size: 140% 100%;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    top: 0;
    transition: .8s var(--ease);
    width: calc(100% + .1rem);
  }
  .blueMask{
    align-items: center;
    background: var(--main);
    color: #181520;
    display: flex;
    height: 100%;
    justify-content: center;
    left: -3px;
    -webkit-mask: url(/image/base/hover.png);
    mask: url(/image/base/hover.png);
    -webkit-mask-position: 160% 0;
    mask-position: 160% 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: auto 100%;
    mask-size: auto 100%;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    top: 0;
    transition: 1.2s var(--ease);
    width: calc(100% + .1rem);
  }
  .fxc{position: relative;z-index: 6;height: 100%;}
  .txt{position: relative;z-index: 6;transition: color .5s var(--ease);}
  .icon{
    display: block;width: .32rem;position: relative;z-index: 6;
    mask-repeat: repeat-x;
    mask-size: .32rem 100%;
    -webkit-mask-position-x: 0%;
    mask-image: url("/image/base/arrow.svg");
    //transition: all 1s steps(5);
    transition: all 1s var(--ease);
    &.small{
      width: .22rem;
      mask-size: .22rem 100%;
    }
    &.tint{
      width: .15rem;
      mask-size: .15rem 100%;
    }
    .rect{
      fill: #fff;
      transition: opacity .5s var(--ease) .2s,fill .5s var(--ease) .2s;
    }
  }
  .iconfont{position: relative;z-index: 6;transition: color .5s var(--ease),transform .6s var(--ease);}
  &.mc{
    background-color: var(--main);
    &>.mask{
      background-color: var(--black);
    }
  }
  &.mk{
    background-color: var(--main);
    @media screen and (orientation : landscape){
      &:hover{
        background-color: transparent;
      }
    }
  }
  @media screen and (orientation : landscape){
    &:hover{
      .hover-mask{
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
      }
      .mak{
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
      }
      .blueMask{
        -webkit-mask-position: 50% 0;
        mask-position: 50% 0;
      }
      &>.mask{
        transform: translateX(0)!important;
      }
      .txt{color: #fff;}
      .icon{
        -webkit-mask-position-x: 0.32rem;
        &.small{-webkit-mask-position-x: 0.22rem;}
        &.tint{-webkit-mask-position-x: 0.15rem;}
        .rect{
          opacity: 1;fill: #fff!important;
        }
      }
      .iconfont{
        transform: translateX(0.05rem);
        color: #fff;
      }
    }
  }
  &.on{
    &>.mask{
      transform: translateX(0)!important;
    }
    .blueMask{
      -webkit-mask-position: 50% 0;
      mask-position: 50% 0;
    }
    .txt{color: #fff;}
    .icon{
      .rect{
        opacity: 1;fill: #fff!important;
      }
    }
    .iconfont{
      transform: translateX(0.05rem);
      color: #fff;
    }
  }
}
/*弹窗*/
.layer-pop{
  @extend .fxc;position: fixed;width: 100%;
  height: 100%;left: 0;top: 0;z-index: 1000;
  display: none;
  .mask{
    @extend .full;background-color: rgba(0,0,0,0.8);
  }
  .popCon{
    width: 68vw;position: relative;z-index: 10;
    opacity: 0;transform: translateY(15%);
    .media{
      width: 100%;object-fit: cover;display: block;
    }
    .closePop{
      position: absolute;left: calc(100% + .1rem);top: 0;
      color: #fff;transition: transform .3s var(--ease);
      @media screen and (orientation : landscape){
        &:hover{
          transform: rotate(90deg);
        }
      }

    }
  }
  &.on{
    display: flex;
  }
}
/*分享*/
.layer-share{
  position: relative;
  .layer-icon{
    width: .4rem;height: .4rem;text-align: center;
    justify-content: center;@extend .fxc;border-radius: 5px;
    transition: background-color .5s var(--ease);
    .iconfont{
      transition:color .5s var(--ease);
    }
  }
  .maBox{
    position: absolute;width: calc(100% + 1.2rem);
    left: -0.6rem;bottom: 100%;pointer-events: none;opacity: 0;
    transform: translate3d(0,.2rem,0);
    transition: opacity .6s var(--ease),transform .6s var(--ease);
    .arrow{
      width: 100%;height: .15rem;display: block;position: relative;
      &:after{
        content: "";position: absolute;
        width: 0;height: 0;border-color: #fff transparent transparent transparent;
        border-width: 7px;bottom: 2px;left: 0;right: 0;margin: 0 auto;
        border-style: solid;
      }
    }
    &>img{
      width: 100%;display: block;border:3px solid #fff;
      border-radius: .05rem;background-color: #fff;
      box-shadow: 0 -2px 8px -1px rgba(0,0,0,0.12);
    }
  }
  .maBox_left{
    position: absolute;height: calc(100% + 1.2rem);top: -0.6rem;
    right: calc(100% + 0.15rem);pointer-events: none;opacity: 0;
    transform: translate3d(0.2rem,0,0);
    transition: opacity .6s var(--ease),transform .6s var(--ease);
    .arrow{
      height: 100%;width: .15rem;display: block;position: absolute;
      left: 100%;top: 0;
      &:after{
        content: "";position: absolute;
        width: 0;height: 0;border-color:  transparent transparent transparent #fff;
        border-width: 7px;right: 2px;bottom: 0;top: 0;margin: auto 0;
        border-style: solid;
      }
    }
    &>img{
      height: 100%;display: block;border:3px solid #fff;
      border-radius: .05rem;background-color: #fff;
      box-shadow: 0 -2px 8px -1px rgba(0,0,0,0.12);
    }
  }
  .msgBox_left{
    position: absolute;height: calc(100% + 0.1rem);top: -0.05rem;
    right: calc(100% + 0.15rem);pointer-events: none;opacity: 0;
    transform: translate3d(0.2rem,0,0);
    transition: opacity .6s var(--ease),transform .6s var(--ease);
    .arrow{
      height: 100%;width: .15rem;display: block;position: absolute;
      left: 100%;top: 0;
      &:after{
        content: "";position: absolute;
        width: 0;height: 0;border-color:  transparent transparent transparent #fff;
        border-width: 7px;right: 2px;bottom: 0;top: 0;margin: auto 0;
        border-style: solid;
      }
    }
    .txt{
      height: 100%;;white-space: nowrap;
      background-color: #fff;@extend .fxc;
      padding: 0 0.25rem;border-radius: 0.05rem;
    }
  }
  &.on{
    .layer-icon{
      background-color: var(--main);
      .iconfont{color: var(--white);}
    }
    .maBox{
      opacity: 1;transform: translate3d(0,0,0);pointer-events: auto;
    }
  }
  @media screen and (orientation : landscape){
    &:hover{
      .layer-icon{
        .iconfont{color: var(--main);}
      }
      .maBox,.maBox_left,.msgBox_left{
        opacity: 1;transform: translate3d(0,0,0);pointer-events: painted;
      }
    }
  }
}
/*ts容器*/
.layer-ts{
  display: block;@extend .pa-h;height: 100%;top: 0;
  background-size: cover;background-repeat: no-repeat;
  &>svg{
    min-height: 100%;min-width: 100%;display: block;
    .path{
      fill: transparent;
    }
  }
  canvas{
    opacity: 0;transition: opacity .3s var(--ease);
  }
  &.active{
    canvas{opacity: 1;}
  }
}

/************文字类********/
.letter{font-family: inherit;font-size: inherit;color: inherit;font-weight: inherit;min-width: .2em;}
.layer-topic{
  .letter{
    display: inline-block;transition: opacity 1.2s var(--ease),transform 1.2s var(--ease),color .3s var(--ease);
    opacity: 0;transform-origin: 50%;
    @for $i from 1 through 50{
      &:nth-child(#{$i}){
        transform: translate3d(#{.1+$i*.07rem},0,0);
        transition-delay: #{$i*0.03s};
      }
    }
  }
  &>p{
    transition: opacity 1.2s var(--ease),transform 1.2s var(--ease),color .3s var(--ease);
    opacity: 0;transform-origin:0 50%;transform:rotate(3deg) translate3d(0,.2rem,0);
  }
  .poMid{line-height: 1.2;}
  &.go{
    p{opacity: 1;transform: translate3d(0,0,0);}
    .letter{
      opacity: 1;transform: translate3d(0,0,0);
    }
  }
}
.layer-set{
  width: 1.8rem;height: 1.7rem;position: relative;
  .prevIcon{
    width: 1rem;height: 1rem;background-color: rgba(255,255,255,1);
    border-radius: 5px;position: absolute;left: 0;top: 0;
    @extend .fxc;
    .icon{
      transform: scaleX(-1);
      .rect{fill: rgba(21, 43, 217, 1);}
    }
  }
  .nextIcon{
    width: 1rem;height: 1rem;background-color: rgba(255,255,255,1);
    border-radius: 5px;position: absolute;right: 0;bottom: 0;
    @extend .fxc;backdrop-filter: blur(0.3rem);
    .icon{
      .rect{fill: rgba(21, 43, 217, 1);}
    }
  }
}
.layer-icon{
  .icon{
    display: block;width: .14rem;position: relative;z-index: 6;
    mask-repeat: repeat-x;
    mask-size: .14rem 100%;
    -webkit-mask-position-x: 0%;
    mask-image: url("/image/base/arrow.svg");
    //transition: all 1s steps(5);
    transition: all 1s var(--ease);
    &.small{
      width: .22rem;
      mask-size: .22rem 100%;
    }
    .rect{
      fill: var(--main);
      transition: opacity .5s var(--ease) .2s,fill .5s var(--ease) .2s;
    }
    @media screen and (orientation : landscape){
      &:hover{
        .icon{
          -webkit-mask-position-x: 0.14rem;
          .rect{
            opacity: 1;fill: #fff!important;
          }
        }
      }
    }
  }
}
/*三行省略*/
.over-3{
  display: -webkit-box;line-height: 1.3;
  -webkit-line-clamp: 3;height: 3.9em;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/*文字渐变*/
.txt-color{
  background: linear-gradient(150deg, rgba(230, 23, 33, 1) 45%,rgba(255, 255, 255, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/*文字一大一小底部对齐*/
.layer-sub{
  line-height: 1.1;
  sub{vertical-align:baseline;}
}
/*文字一大一小顶部对齐*/
.layer-sup{
  line-height: 1.1;
  sup{vertical-align:top;}
}
/************遮罩类********/
/*遮罩--op*/
.layer-mask{
  position: relative;
  &:before{
    content: "";@extend .full;z-index: 0;
    background-color: rgba(0,0,0,var(--op));
  }
}
/*底部渐变遮罩*/
.layer-btmMask{
  position: relative;
  &:before{
    content: "";@extend .full;z-index: 1;pointer-events: none;
    background: linear-gradient(180deg,rgba(0,0,0,0) 80%,rgba(0,0,0,.5) 100%);
  }
}

/************图片盒子类********/
.layer-img{
  border-radius: .05rem;overflow: hidden;
  &>img{
    display: block;width: 100%;height: 100%;object-fit: cover;
    transform: scale(1.1);opacity: 0;
    transition: clip-path 1.8s var(--picEase),transform 1.8s var(--picEase),opacity 1s var(--ease);
    &:not(.noClip){
      clip-path: inset(15% 15% 15% 15% round .05rem)
    }
  }
  &.go{
    &>img{
      transform: scale(1);opacity: 1;
      &:not(.noClip){clip-path: inset(0 0 0 0 round .05rem)}
    }
  }
}
/*背景图(--size%)*/
.layer-photo{
  overflow: hidden;border-radius: 5px;
  .pic{
    display: block;width: 100%;border-radius: 5px;
    padding-bottom: calc(var(--size)*100%);
    transition: opacity 1.2s var(--ease),transform 1.5s var(--ease),color .3s var(--ease),background-color .6s var(--ease);
    opacity: 0;transform-origin: 0 50%;transform:scale(1.2);
    .imgScroll{
      position: absolute;height: calc(100% + 1rem);
      width: 100%;top: -.5rem;left: 0;object-fit: cover;
    }
  }
  &.go{
    .pic{
      opacity: 1;transform: scale(1);
    }
  }
}
/*左右图-文*/
.layer-box{
  display: grid;grid-template-columns: 1fr 1fr;
  .photo{
    .pic{width: 100%;padding-bottom: 50%;display: block;}
  }
  .msg{}
}
/*图(--size%)上文*/
.layer-above{
  position: relative;border-radius: .05rem;overflow: hidden;
  .layer-pic{
    display: block;position: relative;
    width: 100%;padding-bottom: calc(var(--size)*100%);
    .pic{@extend .full;transform: scale(1.1);;transition: transform 2s var(--ease);}
  }
  .layer-photo{
    display: block;position: relative;
    width: 100%;padding-bottom: calc(var(--size)*100%);
    .pic{@extend .full;}
  }
  .msg{
    position: absolute;width: 100%;bottom: 0;left: 0;
    padding: .5rem;border-radius: 5px;overflow: hidden;
  }
  &.go{
    .layer-pic{
      .pic{transform: scale(1);}
    }
  }
}

.layer-search{
  @extend .fxs;
  border-bottom: 1px solid var(--tint);
  .inTxt{
    border: none;background-color: transparent;
    display: block;padding: .1rem 0;flex: 1;text-indent: 0;
    &::placeholder{color: var(--tint);}
  }
}


/************表单类********/
.layer-form{
  position: relative;
  .inRow{
    margin-bottom: .35rem;
    &:last-of-type{margin-bottom: 0;}
    .inCol{
      width: calc(50% - .2rem);
      &.wid-100{width: 100%;}
      h3{color: rgba(255, 255, 255, .6);sup{vertical-align: baseline;}}
      .inTxt{
        border: none;border-bottom: 1px solid rgba(255, 255, 255, .3);
        height: .68rem;width: 100%;background-color: transparent;
        padding: 0;text-indent: 0;display: block;
        transition: border-color .5s var(--ease);
        &::placeholder{
          color: rgba(255, 255, 255, .6);
        }
      }
      .inArea{
        border: none;border-bottom: 1px solid rgba(255, 255, 255, .3);
        background-color: transparent;width: 100%;padding: 0;text-indent: 0;display: block;
        transition: border-color .5s var(--ease);
        &::placeholder{
          color: rgba(255, 255, 255, .6);
        }
      }
      &.error{
        .inTxt{
          border-color: red;
        }
        .inArea{
          border-color: red;
        }
      }
    }
  }
  .loadMk{
    @extend .full;z-index: 50;background-color: rgba(255,255,255,0.8);
    border-radius: .18rem;overflow: hidden;
    opacity: 0;pointer-events: none;
    transition: opacity .3s var(--ease);
    .loader{
      width: 1rem;
    }
    &.active{
      opacity: 1;
    }
  }
}
/*复选框*/
.layer-check{
  @extend .fxc;justify-content: flex-start;
  padding: .1rem 0;
  &:first-of-type{padding-top: 0;}
  label{
    display: flex;align-items: center;justify-content: flex-start;
    cursor:pointer;text-align:left;-webkit-user-select:none;user-select:none;
    width: 100%;
  }
  .input__box{
    display: inline-block;margin-right: .25rem;text-align: center;
    width: .2rem;height: .2rem;border: 1px solid rgba(29, 95, 99, .5);
    position: relative;font-size: 12px;line-height: .2rem;
    color: transparent;border-radius: 2px;
    transition: color .5s var(--ease),background-color .5s var(--ease);
  }
  .tint{display: inline-block;transition: color .5s var(--ease);}
  input{
    display: none;
    &:checked+.input__box{
      background-color: var(--main);
      color: #fff;border-color: var(--main);
      &+.tint{color: var(--main);font-weight: 700;}
    }
  }
}
/*提示框*/
.layer-toast{
  position: fixed;width: 100%;bottom: 30%;left: 0;height: 2rem;z-index: 200;
  @extend .fxc;pointer-events: none;opacity: 0;transform: translateY(.3rem);
  transition: opacity .5s var(--ease),transform .5s var(--ease);
  &>span{
    border-radius: .1rem;padding: .1rem .3rem;color: #fff;
    background-color: var(--black);@extend .f-16;
  }
  &.on{
    opacity: 1;transform: translateY(0);
  }
}
/*下拉*/
.layer-down{
  position: relative;
  .txt{
    position: relative;z-index: 10;background-color: #fff;
    display: flex;justify-content: flex-start;align-items: center;
    transition: all .5s var(--ease);border-radius: 2rem;
    &>a{transition: color .3s var(--ease);}
    .inTxt{
      border: none;text-indent: 0;background-color: transparent;
    }
    &>i{transition: color .3s var(--ease);}
  }
  .child{
    position: absolute;width: 100%;max-height: 3.6rem;
    left: 0;background-color: var(--black);overflow: auto;
    border-radius: .12rem;top: 0;padding: .55rem 0 .1rem 0;
    opacity: 0;pointer-events: none;transition: opacity .5s var(--ease);
    &>li{
      transition: opacity .5s var(--ease),transform .5s var(--ease),color .3s var(--ease);
      opacity: 0;transform: translateY(20%);
      @for $i from 1 through 20{
        &:nth-child(#{$i}){
          transition-delay:#{0+$i*.02}s;
        }
      }
      &>a,&>span{
        display: block;white-space: nowrap;
        padding: 4px 0 4px .38rem;line-height: .36rem;cursor: pointer;
        transition: color .5s var(--ease);
        &:hover{
          color: var(--blue);
        }
      }
    }
  }
  &:hover{
    .txt{
      background-color: var(--black);
      &>a{color: var(--white);}
      .inTxt{color: var(--white);}
      &>i{color: var(--white);}
    }
    .child{
      opacity: 1;pointer-events: auto;
      &>li{
        opacity: 1;transform: none;
      }
    }
  }
  &.on{
    .txt{
      background-color: var(--black);
      &>a{color: var(--white);}
      &>i{color: var(--white);}
    }
    .child{
      opacity: 1;pointer-events: auto;
      &>li{
        opacity: 1;transform: none;
      }
    }
  }
}
.layer-child{
  position: relative;
  .txt{
    position: relative;z-index: 10;display: block;
    transition: all .5s var(--ease);padding: 0 .1rem;
    line-height: .6rem;color: rgba(28, 30, 60, 1);
  }
  .child{
    position: absolute;width: 100%;
    left: 0;top: 100%;perspective: 5rem;
    opacity: 0;pointer-events: none;
    transform: translate3d(0,-8%,0);
    transition: opacity .6s var(--ease),transform .6s var(--ease);
    &>li{
      transition: opacity .8s var(--ease),transform .8s var(--ease),color .3s var(--ease);
      opacity: 0;transform-origin: 0 50%;
      @for $i from 1 through 20{
        &:nth-child(#{$i}){
          transform: translate3d(0,#{.1+$i*.05rem},0) rotate(#{1+$i*1deg});
          transition-delay: #{$i*0.03s};
        }
      }
      &>a,&>span{
        display: block;white-space: nowrap;text-align: center;
        line-height: .3rem;cursor: pointer;
        transition: color .5s var(--ease);
        &:hover{
          color: var(--main);
        }
      }
    }
  }
  &.none{
    .txt{
      color: rgba(28, 30, 60, 0.5);
    }
  }
  &.on{
    .txt{
      color: var(--black);
      font-weight: 600;
    }
    .child{
      opacity: 1;pointer-events: auto;transform: none;
      &>li{
        opacity: 1;transform: none;
      }
    }
  }
  &.active{
    .txt{
      color: var(--black);
      font-weight: 600;
    }
    .child{
      opacity: 1;pointer-events: auto;transform: none;
      &>li{
        opacity: 1;transform: none;
      }
    }
  }
}

/***********配合函数样式类*************/
/*鼠标自定函数*/
.cursor--group{
  position: absolute;z-index: 250;
  display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-pack: center;
  justify-content: center;-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;
  align-items: center;
  margin: 0 auto;min-height: 100vh;pointer-events: none;
  opacity: 0;
  .cursor{position: fixed;left: 0;top: 0;pointer-events: none;border-radius: 50%;}
  .cursor--inner{
    width: 0.86rem;
    height: 0.86rem;
    z-index: 11000;
    background-color: transparent;
    align-items: center;justify-content: center;
    display: flex;
    opacity: 0;
    &>.arrow{
      width: 0.38rem;opacity: 0;transform: scale(0.5) rotate(0deg);
      height: .38rem;@extend .fxc;
      transition: opacity .5s ease-in-out,transform .5s cubic-bezier(0.53, 0.52, 0.25, 0.99);
      i{font-size: .38rem;}
    }
    &.on{
      h5{
        opacity: 1;
        span{
          opacity: 1;
          transform: none;
        }
      }
    }
  }
  .cursor--outer{
    width: 0.86rem;
    height: 0.86rem;
    background-color: var(--theme);
    z-index: 12000;border-radius: 50%;
    align-items: center;justify-content: center;
    display: flex;
    transition: background-color 0.3s var(--ease);
    &.on{
      border-color: transparent;background-color: transparent;
    }
  }
  &.left{
    .cursor--outer{}
    .cursor--inner{
      z-index: 12001;
      &>.arrow{
        opacity: 1;transform: scale(1) rotate(-90deg);
      }
    }
  }
  &.right{
    .cursor--outer{}
    .cursor--inner{
      z-index: 12001;
      &>.arrow{
        opacity: 1;transform: rotate(90deg) scale(1);
      }
    }
  }
}
/*普通切换轮播函数*/
.layer-sliderFn{
  position: relative;
  .sliderPic{
    height: 100%;position: absolute;
    left: 0;top: 0;width: 100%;z-index: 1;
    opacity: 0;overflow: hidden;
    .photo{
      width: 37.5vw;height: 100%;
      position: absolute;left: 0;top: 0;background-color: #000;
      clip-path:inset(0 0 0 0 round 0px);
      transition: all 1.2s var(--picEase);
      .pic{
        display: block;width: 100%;height: 100%;
        transform: scale(1.1);
        transition: opacity 1s var(--picEase),transform 2s var(--ease);
      }
    }
    &.on{
      opacity: 1;z-index: 10;
      .pic{
        transform: scale(1);
      }
    }
    &.in{
      opacity: 1;
      .pic{transform: scale(1);}
    }
    &.out{
      opacity: 1;z-index: 10;
      .photo{
        clip-path:inset(0 100% 0 0 round 5px);
        .pic{
          opacity: 0.5;
        }
      }
    }
  }
  .sliderMsg{
    &.on{
      opacity: 1;
    }
    &.in{
      opacity: 1;
    }
    &.out{
      opacity: 0;
    }
  }
  .sliderDot{
    opacity: 0.5;
    &.on{opacity: 1;}
  }
}

.layer-pager{
  position: relative;z-index: 6;
  &>a.dot{
    margin:0 .2rem;
    transition: color .5s var(--ease);
    &:hover{
      color: var(--main);
    }
  }
  .prevIcon{
    width: .8rem;height: .8rem;background-color: rgba(240, 242, 252, 1);
    border-radius: 5px;padding: 0;margin-right: .3rem;
    @extend .fxc;
    .icon{
      transform: scaleX(-1);
      width: .24rem;mask-size: .24rem 100%;
      .rect{fill: rgba(21, 43, 217, 1);}
    }
    &:hover{
      .icon{
        -webkit-mask-position-x: 0.24rem;
      }
    }
  }
  .nextIcon{
    width: .8rem;height: .8rem;background-color: rgba(240, 242, 252, 1);
    border-radius: 5px;padding: 0;margin-left: .3rem;
    @extend .fxc;backdrop-filter: blur(0.3rem);
    .icon{
      width: .24rem;mask-size: .24rem 100%;
      .rect{fill: rgba(21, 43, 217, 1);}
    }
    &:hover{
      .icon{
        -webkit-mask-position-x: 0.24rem;
      }
    }
  }
}

/*手机导航-常规*/
nav.menu{
  position: fixed;width: 100%;height: 100%;z-index: 100;
  display: flex;justify-content: center;align-items: center;
  margin: 0 auto;opacity: 0;visibility: hidden;
  .items{
    width: 100vw;
    display: flex;justify-content: center;align-items: center;
    position: fixed;top: 0;left: 0;z-index: 100;
    .content{
      padding-top: 1.5rem;width: 100%;
      padding-left: 6vw;padding-right: 6vw;perspective: 5rem;
      .lists{
        display: block;text-align: left;margin: 1rem 0;
        opacity: 0;position: relative;
        &>span{
          display: block;text-align: left;font-size: 9vw;
          color: rgba(255,255,255,0.9);line-height: 1.1;
        }
        &.on{
          &>span{
            color: var(--main)
          }
          &>small{
            color: #fff;
          }
        }
      }
    }
  }
  .shape-overlays{
    width: 300vw;height: 100vh;
    pointer-events: none;position: fixed;top: 0;left: 0;
    .path{fill: var(--green);transform: translate3d(0,-100%,0);transition:transform 1s var(--ease); }
    &.is-opened{
      .path{
        transform: translate3d(0,0,0);
      }
    }
  }
}

/*下滚鼠标状提示*/
.layer-mouse{
  @extend .fxc;
  .txt{
    opacity: 0.5;
  }
  .mouse{
    width: .22rem;height: .3rem;border-radius: .09rem;
    border: 2px solid #1a1a1a;position: relative;
    margin-left: .15rem;
    .line{
      width: 2px;height: 6px;background-color: #1a1a1a;
      @extend .layout-h-middle;top: 4px;
      animation: jumpMouse .7s ease-in-out infinite alternate;
    }
    &.wc{
      border-color: #fff;
      .line{background-color: #fff;}
    }
  }
}
@keyframes jumpMouse {
  0%{transform: translateY(.05rem);}
  100%{transform: translateY(-.01rem);}
}